#ifndef TRIGGERSTATEPROPERTY_H
#define TRIGGERSTATEPROPERTY_H
#include "ui_triggerState.h"
#include <QDialog>
#include <QStringListModel>
#include "node.h"

class triggerstateproperty : public QDialog, public Ui::Form6
{
    Q_OBJECT

public:
    triggerstateproperty(node *reaction, QLineEdit *line, dep *myDep);
    void addTextToLineEdit(QString value);
    void removeTextFromLineEdit();
    void setLineEdit();

private slots:
    void insert_state_accept();
    void delete_state_accept();

    void insert_op_accept();
    void delete_op_accept();

    void ok_accept();

private:
    node *reaction;
    QLineEdit *line;
    dep * myDep;
    QHash<QString, int> *verifier;
    QStringList *textToLineEdit;
    QStringListModel *modelOperation;
    QStringListModel *modelState;
};
#endif // TRIGGERSTATEPROPERTY_H
